<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:dc="clr-namespace:DentalConfig;assembly=DentalConfig">
    <!-- Resource dictionary entries should be defined here. -->

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="../Brushes/Common.xaml" />
        <ResourceDictionary Source="../MaterialControlStyles/MaterialDesignTheme.ListView.xaml"/>
    </ResourceDictionary.MergedDictionaries>
    
    <!--
        This style is used in the MultiMessageBoxWithOptionsWindow<T>
    -->

    <!--GridView Default Style for ListView-->
    <Style x:Key="OnlyPresentationGridViewHeaderStyle" TargetType="{x:Type GridViewColumnHeader}" BasedOn="{StaticResource {x:Type GridViewColumnHeader}}">
         <!-- This prevents possibility to interact with column headers, e.g., reordering, sorting, etc. -->
		 <Setter Property="IsHitTestVisible" Value="False"/>
		 <Setter Property="HorizontalAlignment" Value="Stretch"/>
	</Style>
	
	<Style x:Key="GridView" TargetType="{x:Type ListView}" BasedOn="{StaticResource {x:Type ListView}}">
		 <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/>
         <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/>
		 <Setter Property="ScrollViewer.CanContentScroll" Value="true"/>
		 <!-- The definition of any height is necessary to enable scrollbars -->
		 <Setter Property="MaxHeight" Value="200"/>
    </Style>

   <!--PlainView Default Style for ListView to present the items only i.e., without interaction and selection capabilities-->
  <Style x:Key="OnlyPresentationItemContainerStyleForGridView" TargetType="ListViewItem" BasedOn="{StaticResource {x:Type ListViewItem}}">
    <Setter Property="IsHitTestVisible" Value="False"/>
  </Style>

</ResourceDictionary>
